<template>
  <div id="app">
    <router-view></router-view>
    <!-- 登陆组件 -->
    <Login v-if="$store.state.isShowLogin" />
    <!-- 遮罩层 -->
    <Overlay v-if="$store.state.isShowLogin" />
  </div>
</template>

<script>
import Overlay from "@/components/global/OverlayCps";
import Login from "@/components/home/LoginCps";

export default {
  name: "app",
  components: {
    Login,
    Overlay,
  },
};
</script>

<style>
#app{
  width: 100%;
  /* 布局有问题就把它删掉 */
  height: 100%;
}
</style>
